set(SRC_LIST 
    main.cpp 
    ../../../src/kernel/models/PrimitiveDataManager.cpp models/PrimitiveDataManagerTest.cpp
    ../../../src/kernel/models/BaseChannel.cpp models/BaseChannelTest.cpp
    ../../../src/kernel/models/ChannelManager.cpp models/ChannelManagerTest.cpp)

set(CMAKE_CXX_FLAGS "-std=c++11 -O0 -g")
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/test)

add_executable(kernel_test ${SRC_LIST})
target_link_libraries(kernel_test gtest)